package oop.day03;

public class TestWrite {
    public static void main(String[] args) {
        Animal animal = new Animal();
        animal.name="小鸡";
        animal.eat();

        Cat cat = new Cat();
        cat.name="小猫";
        cat.eat();
    }
}
